package behavior.Strategy;

/**
 * Created by LYJ on 2016/10/21.
 * 环境角色
 */
public class Context {
    private Strategy strategy;

    public Context(Strategy strategy) {
        this.strategy = strategy;
    }
    public void doOperate(){
        this.strategy.operate();
    }
}
